package suse.hotel.admin.admin.Mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;
import suse.hotel.admin.admin.DTO.HotelDTO;

import java.util.List;

@Repository
@Mapper
public interface HotelMapper {
    @Select("select * from hotel_message")
    List<HotelDTO> listHotel();
}
